850cf89c052182e9644060646435ad7327d4ba12,src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java,MonitorAccumModel,addSample,#SampleResult#,134

Before Change


			try {
				JAXBContext jxbc = new ObjectFactory();
				Unmarshaller mar = jxbc.createUnmarshaller();
				String resdata = new String(sample.getResponseData());
				// we trim because SAX still has a problem if there
				// extra linebreaks at the beginning. That has been
				// around for a long time.

After Change


		if (sample.getResponseCode().equals("200") &&
			((HTTPSampleResult)sample).isMonitor()){
			ObjectFactory of = ObjectFactory.getInstance();
			Status st = of.parseBytes(sample.getResponseData());
			if (st != null){
				MonitorStats stat =
					new MonitorStats(Stats.calculateStatus(st),
						Stats.calculateLoad(st),